package net.wanho.zaixian.pojo.course;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.List;

@Data
@ToString
@Document(collection = "sys_dictionary")
public class CourseDictory implements Serializable {
    @Id
    private String id;

    @Field(value="d_type")
    private String dType;
    @Field(value="d_name")
    private String dName;
    @Field(value="d_value")
    private List<CourseDictoryModel> dvalue;
}
